package com.demo.test;

import com.demo.entity.User;
import org.springframework.boot.test.context.TestConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @author KingYan
 * @date 2024/6/19
 * @apiNote
 */

@TestConfiguration
public class UserConfiguration {
	@Bean
	public User user() {
		return User.builder().userId(2).userName("Y2").build();
	}
}
